﻿<Window x:Class="OAuthUtility.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="OAuth Utility" Height="536" Width="720" WindowStyle="ThreeDBorderWindow" UseLayoutRounding="True" WindowStartupLocation="CenterScreen">
    <Grid>
        <TabControl Height="473" HorizontalAlignment="Left" Margin="12,12,0,0" Name="tabControl1" VerticalAlignment="Top" Width="674">
            <TabItem Header="Configuration" Name="configurationTab" BorderThickness="2">
                <Grid Height="299" Width="591">
                    <Image Height="130" HorizontalAlignment="Left" Margin="19,8,0,0" Name="image1" Stretch="Fill" VerticalAlignment="Top" Width="144" Source="/OAuthUtility;component/Images/oauth.png" />
                    <TextBlock Height="23" HorizontalAlignment="Left" Margin="325,8,0,0" Name="txbServiceProvider" Text="Select a service provider:" VerticalAlignment="Top" Width="224" FontSize="14" />
                    <ComboBox Height="60" HorizontalAlignment="Left" SelectedIndex="0" Margin="247,40,0,0" Name="comboServicesProvider" VerticalAlignment="Top" Width="302">
                        <Image x:Name="Twitter" Source="Images/twitter.png" Width="224" Height="55" />
                        <Image x:Name="Yahoo" Source="Images/Yahoo.png" Width="241" Height="39" />
                    </ComboBox>
                    <CheckBox Content="Use proxy" Height="26" HorizontalAlignment="Left" Margin="16,160,0,0" Name="chkProxy" VerticalAlignment="Top" Width="144" Click="ChkProxyChecked" />
                    <Grid x:Name="gProxy" IsEnabled="False">
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="29,192,0,0" Name="txbUrlProxy" Text="Address:" VerticalAlignment="Top" Width="50" />
                        <TextBox Height="23" HorizontalAlignment="Left" Margin="98,190,0,0" Name="txtUrlProxy" VerticalAlignment="Top" Width="268" BorderBrush="#FF0C7EC4" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="29,221,0,0" Name="txbUserProxy" Text="Username:" VerticalAlignment="Top" />
                        <TextBox Height="23" HorizontalAlignment="Left" Margin="98,221,0,0" Name="txtUserProxy" VerticalAlignment="Top" Width="179" BorderBrush="#FF0C7EC4" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="29,250,0,0" Name="txbPasswordProxy" Text="Password:" VerticalAlignment="Top" Width="56" />
                        <PasswordBox Height="23" HorizontalAlignment="Left" Margin="98,250,0,0" Name="pwdPasswordProxy" VerticalAlignment="Top" Width="179" BorderBrush="#FF0C7EC4" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="304,224,0,0" Name="txbDomainProxy" Text="Domain:" VerticalAlignment="Top" Width="53" />
                        <TextBox Height="23" HorizontalAlignment="Left" Margin="363,221,0,0" Name="txtDomainProxy" VerticalAlignment="Top" Width="178" />
                    </Grid>
                </Grid>
            </TabItem>
            <TabItem Header="Tokens" Name="tokensTab" BorderThickness="2" GotFocus="TokensTabGotFocus">
                <Grid Height="450" Width="671">

                    <TextBox Height="23" HorizontalAlignment="Left" Margin="199,143,0,0" Name="txtConsumerKey" VerticalAlignment="Top" Width="413" />
                    <TextBlock Height="23" HorizontalAlignment="Left" Margin="89,183,0,0" Name="txbConsumerSecret" Text="Consumer secret:" VerticalAlignment="Top" Width="99" />
                    <TextBlock Height="23" HorizontalAlignment="Left" Margin="89,143,0,0" Name="txbConsumerKey" Text="Consumer key:" VerticalAlignment="Top" Width="100" />
                    <TextBox Height="23" HorizontalAlignment="Left" Margin="199,180,0,0" Name="txtConsumerSecret" VerticalAlignment="Top" Width="413" />
                    <Grid Height="140" HorizontalAlignment="Left" Margin="72,277,0,0" Name="grid1" VerticalAlignment="Top" Width="536">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="41*" />
                            <ColumnDefinition Width="495*" />
                        </Grid.ColumnDefinitions>
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="17,18,0,0" Name="txbAccessToken" Text="Access Token:" VerticalAlignment="Top" Width="107" Grid.ColumnSpan="2" />
                        <TextBox Height="28" IsManipulationEnabled="False" HorizontalAlignment="Left" Margin="69,13,0,0" Name="txtAccessToken" VerticalAlignment="Top" Width="403" Grid.Column="1" />
                        <TextBlock Height="23" HorizontalAlignment="Left" Margin="17,82,0,0" Name="txbAccessSecret" Text="Access Secret:" VerticalAlignment="Top" Width="82" Grid.ColumnSpan="2" />
                        <TextBox Height="28" IsManipulationEnabled="False" HorizontalAlignment="Left" Margin="69,77,0,0" Name="txtAccessSecret" VerticalAlignment="Top" Width="403" Grid.Column="1" />
                    </Grid>
                    <Button Content="Get tokens" Height="23" HorizontalAlignment="Left" Margin="485,233,0,0" Name="btnGetTokens" VerticalAlignment="Top" Width="122" Click="BtnGetTokensClick" />
                    <Image Height="63" HorizontalAlignment="Left" Margin="411,22,0,0" Name="imgServiceProviderSelected" Stretch="Fill" VerticalAlignment="Top" Width="235" />
                </Grid>
            </TabItem>
        </TabControl>
    </Grid>
</Window>
